package model;

import java.util.Comparator;

public class ReverseComparator implements Comparator<String>{
	
	@Override
	public int compare(String o1, String o2) {
		if (o1.compareTo(o2)>0) {
			return -1;
		} else if(o1.compareTo(o2)<0){
			return 1;
		} else
		return 0;
	}
}
